package ooday01;

public class car {
    String brand;
    String color;
    double price;
    car(){

    }
    car( String brand,String color ,double price){
    this.brand=brand;
    this.color=color;
    this.price=price;
    }
    void  start(){
        System.out.println(brand+"牌子的"+color+"的车，"+"价值"+price+"正在启动");

    }
    void  run(){
        System.out.println(brand+"牌子的"+color+"的车，"+"价值"+price+"正在跑");

    }
    void  stop(){
        System.out.println(brand+"牌子的"+color+"的车，"+"价值"+price+"正在停止");

    }



}
